package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallGoodsProduct;
import com.ctsi.ssdc.domain.LitemallGoodsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallGoodsProductRepository extends BaseRepository<LitemallGoodsProduct, Integer, LitemallGoodsProductExample> {
    @Override
    long countByExample(LitemallGoodsProductExample example);

    @Override
    int deleteByExample(LitemallGoodsProductExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallGoodsProduct record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallGoodsProduct record);

    @Override
    List<LitemallGoodsProduct> selectByExample(LitemallGoodsProductExample example);

    @Override
    LitemallGoodsProduct selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallGoodsProduct record, @Param("example") LitemallGoodsProductExample example);

    @Override
    int updateByExample(@Param("record") LitemallGoodsProduct record, @Param("example") LitemallGoodsProductExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallGoodsProduct record);

    @Override
    int updateByPrimaryKey(LitemallGoodsProduct record);

}